package com.jinzecloud.reportapproval.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jinzecloud.reportapproval.utils.PageUtils;
import com.jinzecloud.reportapproval.utils.Query;

import com.jinzecloud.reportapproval.mapper.ConsCheckRecordInfoMapper;
import com.jinzecloud.reportapproval.bean.ConsCheckRecordInfo;
import com.jinzecloud.reportapproval.service.ConsCheckRecordInfoService;


@Service("consCheckRecordInfoService")
public class ConsCheckRecordInfoServiceImpl extends ServiceImpl<ConsCheckRecordInfoMapper, ConsCheckRecordInfo> implements ConsCheckRecordInfoService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ConsCheckRecordInfo> page = this.page(
                new Query<ConsCheckRecordInfo>().getPage(params),
                new QueryWrapper<ConsCheckRecordInfo>()
        );

        return new PageUtils(page);
    }

}